This exercise is actually asking you to:
In this case we use a Decoder for turning the single cases (in order) to their actual output, using a simplified diagram:
The vertical lines are meant to be seen as a giant or for a single output.
Draw the circuit, in this case it's all in one with a Decoder:
This exercise is asking you to: